package org.alex.samples.service;

import java.util.List;

import org.alex.samples.dao.IExamTestTypeDAO;
import org.alex.samples.model.ExamTestType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ExamTestTypeServiceImpl implements IExamTestType{

	@Autowired
	IExamTestTypeDAO examTestTypeDAO;
	
	@Override
	public ExamTestType findById(Integer id) {
		return examTestTypeDAO.findById(id);
	}

	@Override
	public List<ExamTestType> findAllExamTestType() {
		return examTestTypeDAO.findAllExamTestType();
	}

}
